package com.hb.trade.api.routine.client;

import org.fzzn.core.model.msg.ResponseDto;
import org.fzzn.core.model.websocket.SocketMessageEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 文件管理服务
 *
 * @author zhaojk
 */
@FeignClient("hb-im")
public interface ImClient {
    /**
     * 即时通讯方消息
     *
     * @return
     */
    @PostMapping("/im/info")
    ResponseDto imInfo(SocketMessageEntity messageEntity);


   /**
    *
    * @Description:消息中心推送
    * @Author: zhongdl
    * @Date:2022/3/8 15:48
    * @param messageEntity:
    * @return: {@link ResponseDto }
    **/
    @PostMapping("/im/pushMessageCenter")
    ResponseDto pushMessageCenter(SocketMessageEntity messageEntity);

}
